package com.sc.nft.entity.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.sc.nft.sup.PageRequest;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * @author 刘国航
 * @desc
 * @since 2024/12/21 14:56
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class WantBuyOrderAdminRecordDTO extends PageRequest {

    @ApiModelProperty("求购单id")
    @NotNull(message = "求购单id不能为空")
    private Long id;

    @ApiModelProperty("卖家手机号")
    private String sellUserTel;

    @ApiModelProperty("开始创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date startCreateTime;

    @ApiModelProperty("结束创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date endCreateTime;

    @ApiModelProperty("开始支付时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date startPayTime;

    @ApiModelProperty("结束支付时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date endPayTime;

}
